package com.ws.entity;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author 王硕
 * @version jdk21
 * @className BikeCompany
 * @description
 * @date 2024/11/16 14:14
 */
@Data
@Accessors(chain = true)
public class BikeCompany {
    // 公司id
    private Integer companyId;
    //公司名称
    private String companyName;
    // 公司持有共享单车
    private BaseBike[] bikes;
    //公司单车总量
    private Integer sum;
    // 公司单车借出次数
    private Integer count;
    public BikeCompany setCount(Integer count) {
        this.count = count;
        return this;
    }

}
